package com.hoshiicloud.lessee.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel("编辑商品类目入参对象")
public class UpdateGoodCategoryJHParam implements Serializable {

    @ApiModelProperty("类目id")
    @NotNull(message = "商品类目ID不能为空")
    private Long id;

    @ApiModelProperty("类目名称")
    @NotBlank(message = "类目名称不能为空")
    private String name;


    @ApiModelProperty("进口税率,第三级类目才传")
    private BigDecimal importTaxes;


    @ApiModelProperty("参数属性ID集合,第三级类目才传")
    private List<Long> proIds;


    @ApiModelProperty("规格ID集合,第三级类目才传")
    private List<Long> specIds;





}
